package com.frejoys.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frejoys.dao.entity.UserCashPassword;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserCashPasswordMapper extends BaseMapper<UserCashPassword> {

    //根据用户id 查询提现账户信息密码
    @Select("select * from j_user_cash_password where user_id = #{userId}")
    UserCashPassword getUserCashPasswordByUserId(@Param("userId") Long userId);
}
